﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Content.Pipeline;
using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;

namespace XDLPipeline
{
    [ContentProcessor(DisplayName="Blender Model Information processor")]
    class ModelInformationProcessor : ContentProcessor<RawModelInformation, RawModelInformation>
    {
        public override RawModelInformation Process(RawModelInformation input, ContentProcessorContext context)
        {
            BlenderCoordsProcessorHelper.NormalizeHulls(input.Xml, context);
            BlenderCoordsProcessorHelper.NormalizePositions(input.Xml, context);
            
            return input;
        }
    }
}
